﻿namespace Ngs
{
    using System;

    /// <summary>
    /// Event Handler for canceling the current event. 
    /// Re-implements to avoid referencing System.ComponentModel namespace.
    /// </summary>
    public class CancelEventArgs: EventArgs
    {
        public CancelEventArgs()
            :this(false)
        {
        }

        public CancelEventArgs(bool cancel)
        {
            this.Cancel = cancel;
        }

        public bool Cancel { get; set; }
    }
}
